home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 March / CHIP Mart 1997.iso / SurfCam / SURFCAM.Z / DEVLIEG.M3 < prev    next >
Encoding:
Text File  |  1996-04-01  |  3.5 KB  |  126 lines

  1. name DeVlieg
  2.  
  3. N 4
  4. G 2
  5. D 2
  6. X -34
  7. Y -34
  8. Z -34
  9. R -34
  10. W -34
  11. I 34
  12. J 34
  13. K 34
  14. H 34
  15. F 31
  16. S 2
  17. M 2
  18. B 3
  19.  
  20. ModalGs 0 1 2 3 80 81 82 84 85        # List of g codes that are modal    
  21.  
  22. Sequence#s N 1 1 100                  # Char, freq, incr & start          
  23.  
  24. HCode X                               # X or X U  'Horizontal char.       
  25. VCode Y                               # Y or Y V  'Vertical char.         
  26. Dcode Z                               # Depth char.                       
  27. FeedCode F                            # Feed rate char.                   
  28.  
  29. Comment ( )                           # Begin End comment char.           
  30.  
  31. Spindle 3 4 5                         # Cw, ccw & stop m codes            
  32. Coolant 8 9 7                         # On, Off & Mist m codes            
  33. DComp 41 42 40                        # Left, Right & Cancel m codes      
  34. LComp 43 49                           # On & Off codes                    
  35.  
  36. Spaces? Y                             # Y or N  'Spaces between words     
  37.  
  38. CtrIncremental? Y                     # Y or N  'Inc or abs I & J         
  39. ByQuadrants? Y                        # Y or N  'Break arcs at quadrants  
  40.  
  41. Inc/Abs G 91 90                       # Inc & Abs char. & values          
  42.  
  43. Work G                                # Work offset register              
  44.  
  45. CtrCode I J                           # I J or R or I J K L               
  46. Helical? N
  47.  
  48. Feed G1                             # Linear move                       
  49. Rapid G0                            # Rapid positioning word            
  50. Cw G2                               # Circular move clockwise           
  51. Ccw G3                              # Circular move counter clockwise   
  52.  
  53. UppercaseComments? Y                  # Y or N 'Require uppercase comments
  54.  
  55. Drill                                 # Drilling canned/manual cycle      
  56. G81 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  57. end cancel
  58.  
  59. Peck                                  # Pecking canned/manual cycle       
  60. none
  61. end
  62.  
  63. Tap                                   # Tapping canned/manual cycle       
  64. G84 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  65. end cancel
  66.  
  67. LTap                                  # Left handed tapping cycle         
  68. G74 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  69. end cancel
  70.  
  71. Ream                                  # Reaming canned/manual cycle       
  72. G85 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  73. end cancel
  74.  
  75. Bore                                  # Boring canned/manual cycle        
  76. G86 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  77. end cancel
  78.  
  79. Back                                  # Back boring canned/manual cycle   
  80. G87 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  81. end cancel
  82.  
  83. Cancel                                # Cancel a canned/manual cycle      
  84. G80
  85. end
  86.  
  87. StartCode                             # Start of the program              
  88. G90
  89. G0 D0 X0 Y0 Z0 W[ToolD]
  90. End
  91.  
  92. 1stToolChange                         # First tool change                 
  93. G0 D[LComp] X[H] Y[V]
  94. G17
  95. W0 S[Speed] M[Cool]
  96. Z[VClear] M[Direct]
  97. End
  98.  
  99. Infeed                                # Enable cutter comp                
  100. G1 Z[D] F[Plunge]
  101. G[Side] X[H] Y[V] D[DComp] F[FRate]
  102. end
  103.  
  104. Outfeed                               # Disable cutter comp               
  105. G1 G40 X[H] Y[V]
  106. Z[D]
  107. end
  108.  
  109. ToolChange                            # Secondary tool changes            
  110. G0 W0
  111. D0 Z0 M5
  112. M0
  113. G0 D[LComp] Z0 W[ToolD]
  114. G0 X[H] Y[V] W0 S[Speed] M[Cool]
  115. D[LComp] Z[VClear] M[Direct]
  116. G17
  117. End
  118.  
  119. EndCode                               # End of the program                
  120. G0 W[ToolD]
  121. D0 Z0 M5
  122. M30
  123. End
  124.  
  125.  
  126.